// pages/cangchu-detail/cangchu-detail.js
Page({
  /**
   * 页面的初始数据
   */
  data: {
    orderData: {
      orderid: "1312312323",
      status: "待发货",
      orderTime: "2021-3-22 18:56:19",
      receiverAddress:
        "广东省广州市天河区华强路9号2809号保利克洛维广场中盈大厦A座2208A广东省广州市天河",
      receiver: "张三",
      receiverTel: "134444334343",
      productName:
        "丰田 - 埃尔法-Toyota Alphard内饰phard内饰phard内饰phard内饰phard内饰",
      combo: "航海时代",
      modelType: "2011款2.4L 豪华版",
      image: "http://localhost:8000/images/home-1.png",
      images: [
        "http://localhost:8000/images/home-1.png",
        "http://localhost:8000/images/home-2.png",
        "http://localhost:8000/images/home-1.png",
        "http://localhost:8000/images/home-2.png",
        "http://localhost:8000/images/home-1.png",
        "http://localhost:8000/images/home-2.png"
      ],
      money: "1999.00",
      count: 1,
      installType: "上门安装",
      installMoney: "1000",
      productMoney: "199999",
      sumMoney: "200005",
      logistic: "德邦物流",
      logisticCode: "nn2342343444",
      activeStep: 0,
      cancelReason: '我想退货，不想要了，不喜欢了，不爽了！！！',
      cancelImages: ["http://localhost:8000/images/home-1.png",
      "http://localhost:8000/images/home-2.png",
      "http://localhost:8000/images/home-1.png",
      "http://localhost:8000/images/home-2.png",
      "http://localhost:8000/images/home-1.png",
      "http://localhost:8000/images/home-2.png"],
      steps: [
        {
          text: "平台指派订单给合伙人，等待合伙人发货",
          desc: "2021-3-24 14:13",
        },
        {
          text: "门店提交订单，等待平台发货",
          desc: "2021-3-24 14:13",
        },
        {
          text: "门店提交订单，等待平台发货",
          desc: "2021-3-24 14:13",
        },
      ],
    },
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {},

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {},

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {},

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {},

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {},

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {},

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {},

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {},
});
